package pakage2;

public class Dog extends Animal {
    String name;
    @Override
    public void shout() {
        System.out.println(this.name+"叫");
    }
    @Override
    public void eat() {
        System.out.println(this.name+"吃狗粮");
    }

}
